﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Member/iShopping-Member.Master" AutoEventWireup="true" CodeBehind="DangSanPham.aspx.cs" Inherits="iShopping.Member.DangSanPham" %>
<asp:Content ID="Content1" ContentPlaceHolderID="main_content" runat="server">
    <div id="center_content" style="min-height:250px;">
    <table width="100%" border="0">
          <tr>
            <td class="style1">Tên sản phẩm: </td>
            <td width="60%">
                <label>
                <asp:TextBox ID="TBTenSP" runat="server" Width="220px"></asp:TextBox>
            </label>
              </td>
          </tr>
          <tr>
            <td class="style1">Loại Sản phẩm: </td>
            <td>
                <label>
                <asp:DropDownList ID="DropDownList1" runat="server" Height="25px" 
                    Width="220px">
                </asp:DropDownList>
            </label>
              </td>
          </tr>
          <tr>
            <td align="left" valign="top" class="style1">Ảnh giới thiệu: </td>
            <td>   
		        <input id="filMyFile1" type="file" runat="server"/>
                <br />
		        <input id="filMyFile2" type="file" runat="server"/>
                <br />
		        <input id="filMyFile3" type="file" runat="server"/>
                <br />
		        <input id="filMyFile4" type="file" runat="server"/>
		        <br />
		        <input id="filMyFile5" type="file" runat="server"/>		        
            </td>
          </tr>        
          <tr>
            <td colspan="2">
                <asp:button id="btnViewImg" runat="server" Text="UpLoad Ảnh" Width="100px" 
                    onclick="btnViewImg_Click"/>
                <br />
                <table>
                    <tr>
	                    <td>
	                        <asp:Image id="imgFile1" runat="server" Visible="False"></asp:Image>
		                </td>
	                    <td>
	                        <asp:Image id="imgFile2" runat="server" Visible="False"></asp:Image>
		                </td>
		                <td>
	                        <asp:Image id="imgFile3" runat="server" Visible="False"></asp:Image>
		                </td>
		                <td>
	                        <asp:Image id="imgFile4" runat="server" Visible="False"></asp:Image>
		                </td>
	                    <td>
		                    <asp:Image id="imgFile5" runat="server" Visible="False"></asp:Image>
	                    </td>
                    </tr>                 
		        </table>
		    </td>
          </tr>
          <tr>
            <td class="style1">Video giới thiệu: (youtube link)</td>
            <td>
                <label>
                <asp:TextBox ID="TBLinkVideo" runat="server" Width="220px"></asp:TextBox>
            </label></td>
          </tr>
          <tr>
            <td colspan="2">
                <asp:button id="btnViewVid" runat="server" Text="Xem Video" Width="100px" 
                    onclick="btnViewVid_Click1"/>
                <br />
                <%
                    if (Session["vidlink"] != null){ 
                      string vidlink = (string)Session["vidlink"];
                %>
                <object class="restrain" type="application/x-shockwave-flash" width="640" height="385" data="http://www.youtube.com/v/<%=vidlink%>?version=3&amp;color2=0xcfcfcf&amp;feature=player_embedded">
	                <param name="movie" value="http://www.youtube.com/v/<%=vidlink%>?version=3&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;feature=player_embedded" />
	                <param name="wmode" value="transparent" />
	                <param name="allowfullscreen" value="true" />
	                <param name="Visible" value="false" />
                </object>
                <%} %>
                <br />
            </td>         
          </tr>
          <tr>
            <td class="style1">Giá khởi điểm: </td>
            <td>
                <label>
                <asp:TextBox ID="TBGia" runat="server" Width="220px" Wrap="False"></asp:TextBox>
            </label></td>
          </tr>
          <tr>
            <td class="style1">Kết thúc sau: </td>
            <td>
              &nbsp;<asp:TextBox ID="TBThoiGian" runat="server" Width="182px" Wrap="False"></asp:TextBox>
&nbsp;&nbsp; Giờ
            </td>
          </tr>
          <tr>
            <td class="style1" align="left" valign="top">Mô tả sản phẩm: </td>
            <td>
                &nbsp;<asp:TextBox ID="TBMoTa" runat="server" Height="209px" 
                    TextMode="MultiLine" Width="417px"></asp:TextBox>
            </td>
          </tr>
          <tr>
            <td class="style1">&nbsp;</td>
            <td>&nbsp;</td>
          </tr>
        </table>
		<p>&nbsp;</p>
		<asp:button id="cmdSend" runat="server" Text="Hoàn tất" Width="100px" 
            onclick="cmdSend_Click1"/>
		<p></p>
		<p></p>
    </div>
</asp:Content>

<asp:Content ID="Content2" runat="server" contentplaceholderid="head">

    <style type="text/css">
        #TBLinkVideo
        {
            width: 220px;
        }
        #TBGia
        {
            width: 220px;
        }
        #Text1
        {
            width: 220px;
        }
        #TBMoTaSP
        {
            width: 386px;
            height: 140px;
        }
        #Text2
        {
            width: 180px;
        }
        #textarea
        {
            height: 137px;
            width: 413px;
        }
        #TRMoTaSP
        {
            width: 415px;
            height: 159px;
        }
    </style>

</asp:Content>


